package com.mengtian_tech.tju.dataquery.api.repo.dataAI;



import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.mengtian_tech.tju.dataquery.api.model.dataAIMysql.SysRoleMenu;


@Transactional(value="dataAIJPATxManager")
public interface SysRoleMenuRepo extends JpaRepository<SysRoleMenu,String>{
	
	@Modifying
	@Query("delete from SysRoleMenu a where a.roleId = ?1")
	public void deleteByRoleId(String roleId);
}
